package com.jichaoyun.service;

import com.jichaoyun.model.entity.Menu;
import com.baomidou.mybatisplus.extension.service.IService;
import com.jichaoyun.model.entity.Realdata;

import java.util.List;

/**
* @author zhen
* @description 针对表【menu】的数据库操作Service
* @createDate 2023-11-10 15:12:13
*/
public interface IMenuService extends IService<Menu> {

    List<Menu> getAllMenu();

    /**
     * 根据用户id获取目录
     * @param userId
     * @return
     */
    List<Menu> getMenuListByUserId(Integer userId);

}
